﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Aulac.Srv.Db.Common;
using Aulac.Rsc.Ems;
using Aulac.Rsc.Ems.Tags;
using Aulac.Global.Common;

namespace Aulac.Srv.Db.Data.Ems.MdcFiles.PntLogs
{
    partial class PntLogMng
    {
        /// <summary>
        /// Set mot dong Log vao DB
        /// </summary>
        /// <param name="pMdcFilePrkID"></param>
        /// <param name="pPntLogPrkID"></param>
        /// <param name="pPntPrkID"></param>
        /// <param name="pHspInNum"></param>
        /// <param name="pOrgVchID"></param>
        /// <param name="pOrgVchTypeID"></param>
        /// <param name="pVchDate"></param>
        /// <param name="pDeptPrkID"></param>
        /// <param name="pModeTrmtID"></param>
        /// <param name="pPntLogBackPrkID"></param>
        /// <param name="pPntStatusExam"></param>
        /// <param name="pIsActive"></param>
        /// <param name="pPntObjRdcPrkID"></param>
        private void SetPntLogDb(string pMdcFilePrkID, string pPntLogPrkID, string pPntPrkID, string pHspInNum, string pOrgVchID, string pOrgVchTypeID, string pVchDate, string pDeptPrkID, string pModeTrmtID, string pPntLogBackPrkID, string pPntStatusExam, string pIsActive, string pPntObjRdcPrkID)
        {
            /*
             * 
             */
        }

        private void IsExistLog(string pMdcFilePrkID, string pPntLogPrkID, string pPntPrkID, string pHspInNum, string pOrgVchID, string pOrgVchTypeID, string pVchDate, string pDeptPrkID, string pModeTrmtID, string pPntLogBackPrkID, string pPntStatusExam, string pIsActive, string pPntObjRdcPrkID)
        {
            sqlQuery = string.Format(" SELECT * FROM {0}", TableNames.MdcFile_PntLog);
            sqlQuery += string.Format(" WHERE ({0} = ? ) AND ({1} = ?) AND ({2} = ?) AND ()");
        }

    }
}
